package cn.zhentao.charge.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 汽车对象 charge_car_info
 *
 * @author ruoyi
 * @date 2025-05-15
 */
public class ChargeCarInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Integer id;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer userId;

    /** 车辆号码 */
    @Excel(name = "车辆号码")
    private String carNo;

    /** 车辆品牌id */
    @Excel(name = "车辆品牌id")
    private Integer carBrandId;

    /** 燃料类型 */
    @Excel(name = "燃料类型")
    private Integer fuelType;

    /** 排量 */
    @Excel(name = "排量")
    private Integer displacement;

    /** 车辆照片 */
    @Excel(name = "车辆照片")
    private String avatarImg;

    /** 电磁类型 */
    @Excel(name = "电磁类型")
    private Integer electromagneticType;

    /** 电池容量 */
    @Excel(name = "电池容量")
    private Integer batteryCapacity;

    /** 续航里程 */
    @Excel(name = "续航里程")
    private Integer ranges;

    /** 车架号 */
    @Excel(name = "车架号")
    private String vehicleIdentifyNo;

    /** 最高时速 */
    @Excel(name = "最高时速")
    private Integer maxSpeed;

    /** 加速时间 */
    @Excel(name = "加速时间")
    private Integer accelerationTime;

    /** 车辆参数 */
    @Excel(name = "车辆参数")
    private String modelParameters;

    /** 能耗说明 */
    @Excel(name = "能耗说明")
    private String energyConsumptionDesc;

    /** 其它说明 */
    @Excel(name = "其它说明")
    private String otherDesc;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }

    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }

    public void setCarNo(String carNo)
    {
        this.carNo = carNo;
    }

    public String getCarNo()
    {
        return carNo;
    }

    public void setCarBrandId(Integer carBrandId)
    {
        this.carBrandId = carBrandId;
    }

    public Integer getCarBrandId()
    {
        return carBrandId;
    }

    public void setFuelType(Integer fuelType)
    {
        this.fuelType = fuelType;
    }

    public Integer getFuelType()
    {
        return fuelType;
    }

    public void setDisplacement(Integer displacement)
    {
        this.displacement = displacement;
    }

    public Integer getDisplacement()
    {
        return displacement;
    }

    public void setAvatarImg(String avatarImg)
    {
        this.avatarImg = avatarImg;
    }

    public String getAvatarImg()
    {
        return avatarImg;
    }

    public void setElectromagneticType(Integer electromagneticType)
    {
        this.electromagneticType = electromagneticType;
    }

    public Integer getElectromagneticType()
    {
        return electromagneticType;
    }

    public void setBatteryCapacity(Integer batteryCapacity)
    {
        this.batteryCapacity = batteryCapacity;
    }

    public Integer getBatteryCapacity()
    {
        return batteryCapacity;
    }

    public void setRanges(Integer ranges)
    {
        this.ranges = ranges;
    }

    public Integer getRanges()
    {
        return ranges;
    }

    public void setVehicleIdentifyNo(String vehicleIdentifyNo)
    {
        this.vehicleIdentifyNo = vehicleIdentifyNo;
    }

    public String getVehicleIdentifyNo()
    {
        return vehicleIdentifyNo;
    }

    public void setMaxSpeed(Integer maxSpeed)
    {
        this.maxSpeed = maxSpeed;
    }

    public Integer getMaxSpeed()
    {
        return maxSpeed;
    }

    public void setAccelerationTime(Integer accelerationTime)
    {
        this.accelerationTime = accelerationTime;
    }

    public Integer getAccelerationTime()
    {
        return accelerationTime;
    }

    public void setModelParameters(String modelParameters)
    {
        this.modelParameters = modelParameters;
    }

    public String getModelParameters()
    {
        return modelParameters;
    }

    public void setEnergyConsumptionDesc(String energyConsumptionDesc)
    {
        this.energyConsumptionDesc = energyConsumptionDesc;
    }

    public String getEnergyConsumptionDesc()
    {
        return energyConsumptionDesc;
    }

    public void setOtherDesc(String otherDesc)
    {
        this.otherDesc = otherDesc;
    }

    public String getOtherDesc()
    {
        return otherDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("carNo", getCarNo())
            .append("carBrandId", getCarBrandId())
            .append("fuelType", getFuelType())
            .append("displacement", getDisplacement())
            .append("avatarImg", getAvatarImg())
            .append("electromagneticType", getElectromagneticType())
            .append("batteryCapacity", getBatteryCapacity())
            .append("ranges", getRanges())
            .append("vehicleIdentifyNo", getVehicleIdentifyNo())
            .append("maxSpeed", getMaxSpeed())
            .append("accelerationTime", getAccelerationTime())
            .append("modelParameters", getModelParameters())
            .append("energyConsumptionDesc", getEnergyConsumptionDesc())
            .append("otherDesc", getOtherDesc())
            .append("createTime", getCreateTime())
            .toString();
    }
}
